import {
	http
} from '../httpIndex.js'

export default {
	
	getParenChildTrajectory(data) {
		return http.post(
			`app/parent/getParenChildTrajectory`, data
		)
	},
	
	getParenChildScore(studentId) {
		return http.get(`app/parent/getParenChildScore?studentId=${studentId}`)
	},
	
	getParenChildClsPractice(studentId) {
		return http.get(`app/parent/getClsPractice?studentId=${studentId}`)
	},
	
	getParenChildDv(studentId) {
		return http.get(`app/parent/getParenChildDv?studentId=${studentId}`)
	},
	
	getParenChildDorAttendance(data) {
		return http.post(
			`app/parent/getParenChildDorAttendance`, data
		)
	},
	
	getStudentDorAttendance(studentId, faceTime) {
		return http.get(
			`app/parent/getStudentDorAttendance?studentId=${studentId}&datetime=${faceTime}`
		)
	},
	
	getChildGoOutDetail(studentId, faceTime) {
		return http.get(`app/parent/getStudentTrajectoryByStudentId?studentId=${studentId}&faceTime=${faceTime}`)
	}
	
}